#include "thread.hpp"

int main()
{

    using namespace mythread;
    thread t;
    t.Start();
    sleep(1);
    while(true)
    {

        //t.Stop();
    
        if(t.Join())
            break;
    }
    std::cout << "运行完成" << std::endl;

    return 0;
}